<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.3.1-20130512"/>
<title>3D Cell: commands.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">3D Cell
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.3.1-20130512 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="globals.html"><span>File&#160;Members</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Friends</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Macros</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Pages</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="headertitle">
<div class="title">commands.h</div>  </div>
</div><!--header-->
<div class="contents">
<a href="commands_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="preprocessor">#ifndef COMMANDS_H</span></div>
<div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define COMMANDS_H</span></div>
<div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<span class="preprocessor">#include &lt;QUndoCommand&gt;</span></div>
<div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="glwidget_8h.html">glwidget.h</a>&quot;</span></div>
<div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;</div>
<div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;</div>
<div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160;</div>
<div class="line"><a name="l00012"></a><span class="lineno"><a class="code" href="class_add_object_command.html">   12</a></span>&#160;<span class="keyword">class </span><a class="code" href="class_add_object_command.html" title="A add object class. ">AddObjectCommand</a>:<span class="keyword">public</span> QUndoCommand</div>
<div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;{</div>
<div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;<span class="keyword">public</span>:</div>
<div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;    <a class="code" href="class_add_object_command.html#a8bdfd7dbc1c93fd1553a0e1957a91577">AddObjectCommand</a>(<a class="code" href="class_g_l_widget.html" title="A QGLWidget class. ">GLWidget</a> *_glWidget, <span class="keywordtype">int</span> _objectType, QUndoCommand *parent = 0);</div>
<div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;    <a class="code" href="class_add_object_command.html#a07f088b8d071ab52de6c42cbca53bae0">~AddObjectCommand</a>();</div>
<div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="class_add_object_command.html#a424954b94b43bbf658a0edab0b2f7d45">undo</a>();</div>
<div class="line"><a name="l00018"></a><span class="lineno">   18</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="class_add_object_command.html#a7f347092e38aae4f80f70f6b383262f8">redo</a>();</div>
<div class="line"><a name="l00019"></a><span class="lineno">   19</span>&#160;</div>
<div class="line"><a name="l00020"></a><span class="lineno">   20</span>&#160;<span class="keyword">private</span>:</div>
<div class="line"><a name="l00022"></a><span class="lineno"><a class="code" href="class_add_object_command.html#a6d4703a9adea337057bce4a784f7c971">   22</a></span>&#160;    <a class="code" href="class_g_l_widget.html" title="A QGLWidget class. ">GLWidget</a> *<a class="code" href="class_add_object_command.html#a6d4703a9adea337057bce4a784f7c971" title="Store the point of GLWidget. ">glWidget</a>;</div>
<div class="line"><a name="l00023"></a><span class="lineno">   23</span>&#160;</div>
<div class="line"><a name="l00025"></a><span class="lineno"><a class="code" href="class_add_object_command.html#ac6320d905884d178fc907f0b2f270d17">   25</a></span>&#160;    <a class="code" href="class_cell_object.html" title="A Cell Object class. ">CellObject</a> *<a class="code" href="class_add_object_command.html#ac6320d905884d178fc907f0b2f270d17" title="Store the point of added object. ">object</a>;</div>
<div class="line"><a name="l00026"></a><span class="lineno">   26</span>&#160;};</div>
<div class="line"><a name="l00027"></a><span class="lineno">   27</span>&#160;</div>
<div class="line"><a name="l00029"></a><span class="lineno">   29</span>&#160;</div>
<div class="line"><a name="l00032"></a><span class="lineno"><a class="code" href="class_union_command.html">   32</a></span>&#160;<span class="keyword">class </span><a class="code" href="class_union_command.html" title="A class realized union operation. ">UnionCommand</a>:<span class="keyword">public</span> QUndoCommand</div>
<div class="line"><a name="l00033"></a><span class="lineno">   33</span>&#160;{</div>
<div class="line"><a name="l00034"></a><span class="lineno">   34</span>&#160;<span class="keyword">public</span>:</div>
<div class="line"><a name="l00035"></a><span class="lineno">   35</span>&#160;    <a class="code" href="class_union_command.html#ab958f363ccc5217653ecb64f73c83d6a">UnionCommand</a>(<a class="code" href="class_g_l_widget.html" title="A QGLWidget class. ">GLWidget</a> *_glWidget, <span class="keywordtype">int</span> _firstIndex, <span class="keywordtype">int</span> _secondIndex, QUndoCommand *parent = 0);</div>
<div class="line"><a name="l00036"></a><span class="lineno">   36</span>&#160;    <a class="code" href="class_union_command.html#a656439071e82af30f2c6c8c1f64705cf">~UnionCommand</a>();</div>
<div class="line"><a name="l00037"></a><span class="lineno">   37</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="class_union_command.html#a30d5211eca6ee40c6b9df0fb713e253d">undo</a>();</div>
<div class="line"><a name="l00038"></a><span class="lineno">   38</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="class_union_command.html#abdeca218ca2b2af64ff226f989efe29d">redo</a>();</div>
<div class="line"><a name="l00039"></a><span class="lineno">   39</span>&#160;</div>
<div class="line"><a name="l00040"></a><span class="lineno">   40</span>&#160;<span class="keyword">private</span>:</div>
<div class="line"><a name="l00042"></a><span class="lineno"><a class="code" href="class_union_command.html#a69bec2659e1cf9ec53373b755676bf4e">   42</a></span>&#160;    <a class="code" href="class_g_l_widget.html" title="A QGLWidget class. ">GLWidget</a> *<a class="code" href="class_union_command.html#a69bec2659e1cf9ec53373b755676bf4e" title="Store the point of GLWidget. ">glWidget</a>;</div>
<div class="line"><a name="l00043"></a><span class="lineno">   43</span>&#160;</div>
<div class="line"><a name="l00045"></a><span class="lineno"><a class="code" href="class_union_command.html#aa68413276f799099ee20d05c1bfdee08">   45</a></span>&#160;    <span class="keywordtype">int</span> <a class="code" href="class_union_command.html#aa68413276f799099ee20d05c1bfdee08" title="Store the index of the first object. ">firstIndex</a>;</div>
<div class="line"><a name="l00046"></a><span class="lineno">   46</span>&#160;</div>
<div class="line"><a name="l00048"></a><span class="lineno"><a class="code" href="class_union_command.html#a9016241cc186da8d4a6b7a4f441f4b9c">   48</a></span>&#160;    <span class="keywordtype">int</span> <a class="code" href="class_union_command.html#a9016241cc186da8d4a6b7a4f441f4b9c" title="Store the index of the second object. ">secondIndex</a>;</div>
<div class="line"><a name="l00049"></a><span class="lineno">   49</span>&#160;</div>
<div class="line"><a name="l00051"></a><span class="lineno"><a class="code" href="class_union_command.html#a65698438edb31f2a0106fbed30528e0c">   51</a></span>&#160;    <a class="code" href="class_cell_object.html" title="A Cell Object class. ">CellObject</a> *<a class="code" href="class_union_command.html#a65698438edb31f2a0106fbed30528e0c" title="Store the point of the first object. ">firstObject</a>;</div>
<div class="line"><a name="l00052"></a><span class="lineno">   52</span>&#160;</div>
<div class="line"><a name="l00054"></a><span class="lineno"><a class="code" href="class_union_command.html#a3e620e90c3fc81a41baf1c5946cdb634">   54</a></span>&#160;    <a class="code" href="class_cell_object.html" title="A Cell Object class. ">CellObject</a> *<a class="code" href="class_union_command.html#a3e620e90c3fc81a41baf1c5946cdb634" title="Store the point of the second object. ">secondObject</a>;</div>
<div class="line"><a name="l00055"></a><span class="lineno">   55</span>&#160;</div>
<div class="line"><a name="l00057"></a><span class="lineno"><a class="code" href="class_union_command.html#af4c572c8b11bbafb16493b9e80e5b32b">   57</a></span>&#160;    <a class="code" href="class_cell_object.html" title="A Cell Object class. ">CellObject</a> *<a class="code" href="class_union_command.html#af4c572c8b11bbafb16493b9e80e5b32b" title="Store the point of the result object. ">resultObject</a>;</div>
<div class="line"><a name="l00058"></a><span class="lineno">   58</span>&#160;};</div>
<div class="line"><a name="l00059"></a><span class="lineno">   59</span>&#160;</div>
<div class="line"><a name="l00061"></a><span class="lineno">   61</span>&#160;</div>
<div class="line"><a name="l00064"></a><span class="lineno"><a class="code" href="class_intersect_command.html">   64</a></span>&#160;<span class="keyword">class </span><a class="code" href="class_intersect_command.html" title="A class realized intersection operation. ">IntersectCommand</a>:<span class="keyword">public</span> QUndoCommand</div>
<div class="line"><a name="l00065"></a><span class="lineno">   65</span>&#160;{</div>
<div class="line"><a name="l00066"></a><span class="lineno">   66</span>&#160;<span class="keyword">public</span>:</div>
<div class="line"><a name="l00067"></a><span class="lineno">   67</span>&#160;    <a class="code" href="class_intersect_command.html#a078a8206c3f8defaf10ec5b0354efeeb">IntersectCommand</a>(<a class="code" href="class_g_l_widget.html" title="A QGLWidget class. ">GLWidget</a> *_glWidget, <span class="keywordtype">int</span> _firstIndex, <span class="keywordtype">int</span> _secondIndex, QUndoCommand *parent = 0);</div>
<div class="line"><a name="l00068"></a><span class="lineno">   68</span>&#160;    <a class="code" href="class_intersect_command.html#a2c7d66fbe20b393ac2f51b9e5e8e8253">~IntersectCommand</a>();</div>
<div class="line"><a name="l00069"></a><span class="lineno">   69</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="class_intersect_command.html#a9b886120358a03d5423260ca327592c2">undo</a>();</div>
<div class="line"><a name="l00070"></a><span class="lineno">   70</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="class_intersect_command.html#ae9803ffa70e312ba9dd1dcde43720932">redo</a>();</div>
<div class="line"><a name="l00071"></a><span class="lineno">   71</span>&#160;</div>
<div class="line"><a name="l00072"></a><span class="lineno">   72</span>&#160;<span class="keyword">private</span>:</div>
<div class="line"><a name="l00074"></a><span class="lineno"><a class="code" href="class_intersect_command.html#abc93ee882c432f120e3f071f53ab3c49">   74</a></span>&#160;    <a class="code" href="class_g_l_widget.html" title="A QGLWidget class. ">GLWidget</a> *<a class="code" href="class_intersect_command.html#abc93ee882c432f120e3f071f53ab3c49" title="Store the point of GLWidget. ">glWidget</a>;</div>
<div class="line"><a name="l00075"></a><span class="lineno">   75</span>&#160;</div>
<div class="line"><a name="l00077"></a><span class="lineno"><a class="code" href="class_intersect_command.html#a4d49ddfd8dec546c91cc654da9814ceb">   77</a></span>&#160;    <span class="keywordtype">int</span> <a class="code" href="class_intersect_command.html#a4d49ddfd8dec546c91cc654da9814ceb" title="Store the index of the first object. ">firstIndex</a>;</div>
<div class="line"><a name="l00078"></a><span class="lineno">   78</span>&#160;</div>
<div class="line"><a name="l00080"></a><span class="lineno"><a class="code" href="class_intersect_command.html#aaf782618c51b138895e3c9f4ebed014b">   80</a></span>&#160;    <span class="keywordtype">int</span> <a class="code" href="class_intersect_command.html#aaf782618c51b138895e3c9f4ebed014b" title="Store the index of the second object. ">secondIndex</a>;</div>
<div class="line"><a name="l00081"></a><span class="lineno">   81</span>&#160;</div>
<div class="line"><a name="l00083"></a><span class="lineno"><a class="code" href="class_intersect_command.html#afc8ff2dc5643ac6d64bfdc62db8ef541">   83</a></span>&#160;    <a class="code" href="class_cell_object.html" title="A Cell Object class. ">CellObject</a> *<a class="code" href="class_intersect_command.html#afc8ff2dc5643ac6d64bfdc62db8ef541" title="Store the point of the first object. ">firstObject</a>;</div>
<div class="line"><a name="l00084"></a><span class="lineno">   84</span>&#160;</div>
<div class="line"><a name="l00086"></a><span class="lineno"><a class="code" href="class_intersect_command.html#ad1a557016d8a216a92556b28d3a509c2">   86</a></span>&#160;    <a class="code" href="class_cell_object.html" title="A Cell Object class. ">CellObject</a> *<a class="code" href="class_intersect_command.html#ad1a557016d8a216a92556b28d3a509c2" title="Store the point of the second object. ">secondObject</a>;</div>
<div class="line"><a name="l00087"></a><span class="lineno">   87</span>&#160;</div>
<div class="line"><a name="l00089"></a><span class="lineno"><a class="code" href="class_intersect_command.html#a9cb6ab9ffc9ebcc7240b904904300b85">   89</a></span>&#160;    <a class="code" href="class_cell_object.html" title="A Cell Object class. ">CellObject</a> *<a class="code" href="class_intersect_command.html#a9cb6ab9ffc9ebcc7240b904904300b85" title="Store the point of the result object. ">resultObject</a>;</div>
<div class="line"><a name="l00090"></a><span class="lineno">   90</span>&#160;};</div>
<div class="line"><a name="l00091"></a><span class="lineno">   91</span>&#160;</div>
<div class="line"><a name="l00093"></a><span class="lineno">   93</span>&#160;</div>
<div class="line"><a name="l00096"></a><span class="lineno"><a class="code" href="class_subtract_command.html">   96</a></span>&#160;<span class="keyword">class </span><a class="code" href="class_subtract_command.html" title="A class realized subtration operation. ">SubtractCommand</a>:<span class="keyword">public</span> QUndoCommand</div>
<div class="line"><a name="l00097"></a><span class="lineno">   97</span>&#160;{</div>
<div class="line"><a name="l00098"></a><span class="lineno">   98</span>&#160;<span class="keyword">public</span>:</div>
<div class="line"><a name="l00099"></a><span class="lineno">   99</span>&#160;    <a class="code" href="class_subtract_command.html#a1301ed3200d8a9d9928fdb7e2b2003d4">SubtractCommand</a>(<a class="code" href="class_g_l_widget.html" title="A QGLWidget class. ">GLWidget</a> *_glWidget, <span class="keywordtype">int</span> _firstIndex, <span class="keywordtype">int</span> _secondIndex, QUndoCommand *parent = 0);</div>
<div class="line"><a name="l00100"></a><span class="lineno">  100</span>&#160;    <a class="code" href="class_subtract_command.html#a3c88c147f242a8b148ad7ebd38874680">~SubtractCommand</a>();</div>
<div class="line"><a name="l00101"></a><span class="lineno">  101</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="class_subtract_command.html#aa719b95669b214656956cbe9f851788b">undo</a>();</div>
<div class="line"><a name="l00102"></a><span class="lineno">  102</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="class_subtract_command.html#a0e7106276a40df334a590ff48ef2907e">redo</a>();</div>
<div class="line"><a name="l00103"></a><span class="lineno">  103</span>&#160;</div>
<div class="line"><a name="l00104"></a><span class="lineno">  104</span>&#160;<span class="keyword">private</span>:</div>
<div class="line"><a name="l00106"></a><span class="lineno"><a class="code" href="class_subtract_command.html#ace2e02483f1be284b32b2f01e980a605">  106</a></span>&#160;    <a class="code" href="class_g_l_widget.html" title="A QGLWidget class. ">GLWidget</a> *<a class="code" href="class_subtract_command.html#ace2e02483f1be284b32b2f01e980a605" title="Store the point of GLWidget. ">glWidget</a>;</div>
<div class="line"><a name="l00107"></a><span class="lineno">  107</span>&#160;</div>
<div class="line"><a name="l00109"></a><span class="lineno"><a class="code" href="class_subtract_command.html#aac1be4c128fbfa4ff587d8efd2c159f3">  109</a></span>&#160;    <span class="keywordtype">int</span> <a class="code" href="class_subtract_command.html#aac1be4c128fbfa4ff587d8efd2c159f3" title="Store the index of the first object. ">firstIndex</a>;</div>
<div class="line"><a name="l00110"></a><span class="lineno">  110</span>&#160;</div>
<div class="line"><a name="l00112"></a><span class="lineno"><a class="code" href="class_subtract_command.html#adf7835c75d8d682a139230188b0dbba0">  112</a></span>&#160;    <span class="keywordtype">int</span> <a class="code" href="class_subtract_command.html#adf7835c75d8d682a139230188b0dbba0" title="Store the index of the second object. ">secondIndex</a>;</div>
<div class="line"><a name="l00113"></a><span class="lineno">  113</span>&#160;</div>
<div class="line"><a name="l00115"></a><span class="lineno"><a class="code" href="class_subtract_command.html#a88342d066cac2af98566333980798a2d">  115</a></span>&#160;    <a class="code" href="class_cell_object.html" title="A Cell Object class. ">CellObject</a> *<a class="code" href="class_subtract_command.html#a88342d066cac2af98566333980798a2d" title="Store the point of the first object. ">firstObject</a>;</div>
<div class="line"><a name="l00116"></a><span class="lineno">  116</span>&#160;</div>
<div class="line"><a name="l00118"></a><span class="lineno"><a class="code" href="class_subtract_command.html#a8c3041717a90dc8edc8cc658ab0b1161">  118</a></span>&#160;    <a class="code" href="class_cell_object.html" title="A Cell Object class. ">CellObject</a> *<a class="code" href="class_subtract_command.html#a8c3041717a90dc8edc8cc658ab0b1161" title="Store the point of the second object. ">secondObject</a>;</div>
<div class="line"><a name="l00119"></a><span class="lineno">  119</span>&#160;</div>
<div class="line"><a name="l00121"></a><span class="lineno"><a class="code" href="class_subtract_command.html#a67e9c1ee95ad6cf4347c4e09a1dd440b">  121</a></span>&#160;    <a class="code" href="class_cell_object.html" title="A Cell Object class. ">CellObject</a> *<a class="code" href="class_subtract_command.html#a67e9c1ee95ad6cf4347c4e09a1dd440b" title="Store the point of the result object. ">resultObject</a>;</div>
<div class="line"><a name="l00122"></a><span class="lineno">  122</span>&#160;};</div>
<div class="line"><a name="l00123"></a><span class="lineno">  123</span>&#160;</div>
<div class="line"><a name="l00125"></a><span class="lineno">  125</span>&#160;</div>
<div class="line"><a name="l00128"></a><span class="lineno"><a class="code" href="class_translate_command.html">  128</a></span>&#160;<span class="keyword">class </span><a class="code" href="class_translate_command.html" title="A class translated object. ">TranslateCommand</a>:<span class="keyword">public</span> QUndoCommand</div>
<div class="line"><a name="l00129"></a><span class="lineno">  129</span>&#160;{</div>
<div class="line"><a name="l00130"></a><span class="lineno">  130</span>&#160;<span class="keyword">public</span>:</div>
<div class="line"><a name="l00131"></a><span class="lineno">  131</span>&#160;    <a class="code" href="class_translate_command.html#aee3ed33992b73e0c2647605eab497f90">TranslateCommand</a>(<a class="code" href="class_g_l_widget.html" title="A QGLWidget class. ">GLWidget</a> *_glWidget, <span class="keywordtype">double</span> _oldX, <span class="keywordtype">double</span> _oldY, <span class="keywordtype">double</span> _oldZ,</div>
<div class="line"><a name="l00132"></a><span class="lineno">  132</span>&#160;                     <span class="keywordtype">double</span> _newX, <span class="keywordtype">double</span> _newY, <span class="keywordtype">double</span> _newZ, <span class="keywordtype">int</span> _index, QUndoCommand *parent = 0);</div>
<div class="line"><a name="l00133"></a><span class="lineno">  133</span>&#160;    <a class="code" href="class_translate_command.html#a63aca0348bdd6291ae1c4ddfb0116bae">~TranslateCommand</a>();</div>
<div class="line"><a name="l00134"></a><span class="lineno">  134</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="class_translate_command.html#a0c6270d7021e36e99d83b8426b4dab76">undo</a>();</div>
<div class="line"><a name="l00135"></a><span class="lineno">  135</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="class_translate_command.html#af316e8acf48c8270094e064abe94e1b1">redo</a>();</div>
<div class="line"><a name="l00136"></a><span class="lineno">  136</span>&#160;</div>
<div class="line"><a name="l00138"></a><span class="lineno">  138</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="class_translate_command.html#addcf8bfe52e5c61b30c4d36bc2e3c537" title="Call this function when mouse released. ">setNew</a>(<span class="keywordtype">double</span> _newX, <span class="keywordtype">double</span> _newY, <span class="keywordtype">double</span> _newZ);</div>
<div class="line"><a name="l00139"></a><span class="lineno">  139</span>&#160;</div>
<div class="line"><a name="l00140"></a><span class="lineno">  140</span>&#160;<span class="keyword">private</span>:</div>
<div class="line"><a name="l00142"></a><span class="lineno"><a class="code" href="class_translate_command.html#a988005af920c0bf534412fb0cd573304">  142</a></span>&#160;    <a class="code" href="class_g_l_widget.html" title="A QGLWidget class. ">GLWidget</a> *<a class="code" href="class_translate_command.html#a988005af920c0bf534412fb0cd573304" title="Store the point of GLWidget. ">glWidget</a>;</div>
<div class="line"><a name="l00143"></a><span class="lineno">  143</span>&#160;</div>
<div class="line"><a name="l00145"></a><span class="lineno"><a class="code" href="class_translate_command.html#a7935f4eb0c87f702690ac00d84b5e0cb">  145</a></span>&#160;    <span class="keywordtype">double</span> <a class="code" href="class_translate_command.html#a7935f4eb0c87f702690ac00d84b5e0cb" title="Store the old value x of translated object. Record it when mouse pressed. ">oldX</a>;</div>
<div class="line"><a name="l00146"></a><span class="lineno">  146</span>&#160;</div>
<div class="line"><a name="l00148"></a><span class="lineno"><a class="code" href="class_translate_command.html#ac49bb76d445d4256b595b68ade5bc729">  148</a></span>&#160;    <span class="keywordtype">double</span> <a class="code" href="class_translate_command.html#ac49bb76d445d4256b595b68ade5bc729" title="Store the old value y of translated object. Record it when mouse pressed. ">oldY</a>;</div>
<div class="line"><a name="l00149"></a><span class="lineno">  149</span>&#160;</div>
<div class="line"><a name="l00151"></a><span class="lineno"><a class="code" href="class_translate_command.html#a4087e700911f629fc153110111818908">  151</a></span>&#160;    <span class="keywordtype">double</span> <a class="code" href="class_translate_command.html#a4087e700911f629fc153110111818908" title="Store the old value z of translated object. Record it when mouse pressed. ">oldZ</a>;</div>
<div class="line"><a name="l00152"></a><span class="lineno">  152</span>&#160;</div>
<div class="line"><a name="l00154"></a><span class="lineno"><a class="code" href="class_translate_command.html#a1915461ef282efa76b5e2cfba479f62e">  154</a></span>&#160;    <span class="keywordtype">double</span> <a class="code" href="class_translate_command.html#a1915461ef282efa76b5e2cfba479f62e" title="Store the new value x of translated object. Update it when mouse released. ">newX</a>;</div>
<div class="line"><a name="l00155"></a><span class="lineno">  155</span>&#160;</div>
<div class="line"><a name="l00157"></a><span class="lineno"><a class="code" href="class_translate_command.html#adf3ec46d8a70287f2b71d8ab4f0ea512">  157</a></span>&#160;    <span class="keywordtype">double</span> <a class="code" href="class_translate_command.html#adf3ec46d8a70287f2b71d8ab4f0ea512" title="Store the new value y of translated object. Update it when mouse released. ">newY</a>;</div>
<div class="line"><a name="l00158"></a><span class="lineno">  158</span>&#160;</div>
<div class="line"><a name="l00160"></a><span class="lineno"><a class="code" href="class_translate_command.html#ad6217e00dea303c6ea7a8beb82ceea45">  160</a></span>&#160;    <span class="keywordtype">double</span> <a class="code" href="class_translate_command.html#ad6217e00dea303c6ea7a8beb82ceea45" title="Store the new value z of translated object. Update it when mouse released. ">newZ</a>;</div>
<div class="line"><a name="l00161"></a><span class="lineno">  161</span>&#160;</div>
<div class="line"><a name="l00163"></a><span class="lineno"><a class="code" href="class_translate_command.html#a4884dc5d8036f33a52a5730058f96aab">  163</a></span>&#160;    <span class="keywordtype">int</span> <a class="code" href="class_translate_command.html#a4884dc5d8036f33a52a5730058f96aab" title="Store the index of translated object. ">index</a>;</div>
<div class="line"><a name="l00164"></a><span class="lineno">  164</span>&#160;};</div>
<div class="line"><a name="l00165"></a><span class="lineno">  165</span>&#160;</div>
<div class="line"><a name="l00167"></a><span class="lineno">  167</span>&#160;</div>
<div class="line"><a name="l00170"></a><span class="lineno"><a class="code" href="class_rotate_command.html">  170</a></span>&#160;<span class="keyword">class </span><a class="code" href="class_rotate_command.html" title="A class rotated object. ">RotateCommand</a>:<span class="keyword">public</span> QUndoCommand</div>
<div class="line"><a name="l00171"></a><span class="lineno">  171</span>&#160;{</div>
<div class="line"><a name="l00172"></a><span class="lineno">  172</span>&#160;<span class="keyword">public</span>:</div>
<div class="line"><a name="l00173"></a><span class="lineno">  173</span>&#160;    <a class="code" href="class_rotate_command.html#a0c34badafd1bcd6c09f5e89bf7f3fe91">RotateCommand</a>(<a class="code" href="class_g_l_widget.html" title="A QGLWidget class. ">GLWidget</a> *_glWidget, <span class="keywordtype">double</span> _oldX, <span class="keywordtype">double</span> _oldY, <span class="keywordtype">double</span> _oldZ,</div>
<div class="line"><a name="l00174"></a><span class="lineno">  174</span>&#160;                     <span class="keywordtype">double</span> _newX, <span class="keywordtype">double</span> _newY, <span class="keywordtype">double</span> _newZ, <span class="keywordtype">int</span> _index, QUndoCommand *parent = 0);</div>
<div class="line"><a name="l00175"></a><span class="lineno">  175</span>&#160;    <a class="code" href="class_rotate_command.html#a5a2b479a5ab50e813af792cb1f855b19">~RotateCommand</a>();</div>
<div class="line"><a name="l00176"></a><span class="lineno">  176</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="class_rotate_command.html#aa69e988b4676a168820d9114f3031b50">undo</a>();</div>
<div class="line"><a name="l00177"></a><span class="lineno">  177</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="class_rotate_command.html#a6c8e5d64b4a41927017ad3731172d9b4">redo</a>();</div>
<div class="line"><a name="l00178"></a><span class="lineno">  178</span>&#160;</div>
<div class="line"><a name="l00180"></a><span class="lineno">  180</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="class_rotate_command.html#ab11b5990260363377a22bc865d7ecbeb" title="Call this function when mouse released. ">setNew</a>(<span class="keywordtype">double</span> _newX, <span class="keywordtype">double</span> _newY, <span class="keywordtype">double</span> _newZ);</div>
<div class="line"><a name="l00181"></a><span class="lineno">  181</span>&#160;</div>
<div class="line"><a name="l00182"></a><span class="lineno">  182</span>&#160;<span class="keyword">private</span>:</div>
<div class="line"><a name="l00184"></a><span class="lineno"><a class="code" href="class_rotate_command.html#a4919751431459510a54432ba684397a2">  184</a></span>&#160;    <a class="code" href="class_g_l_widget.html" title="A QGLWidget class. ">GLWidget</a> *<a class="code" href="class_rotate_command.html#a4919751431459510a54432ba684397a2" title="Store the point of GLWidget. ">glWidget</a>;</div>
<div class="line"><a name="l00185"></a><span class="lineno">  185</span>&#160;</div>
<div class="line"><a name="l00187"></a><span class="lineno"><a class="code" href="class_rotate_command.html#a6396eb65cd3dac54ad1aabd81f001e07">  187</a></span>&#160;    <span class="keywordtype">double</span> <a class="code" href="class_rotate_command.html#a6396eb65cd3dac54ad1aabd81f001e07" title="Store the old value x of rotated object. Record it when mouse pressed. ">oldX</a>;</div>
<div class="line"><a name="l00188"></a><span class="lineno">  188</span>&#160;</div>
<div class="line"><a name="l00190"></a><span class="lineno"><a class="code" href="class_rotate_command.html#a872c2329dc72cc6d263cd7822d94f309">  190</a></span>&#160;    <span class="keywordtype">double</span> <a class="code" href="class_rotate_command.html#a872c2329dc72cc6d263cd7822d94f309" title="Store the old value y of rotated object. Record it when mouse pressed. ">oldY</a>;</div>
<div class="line"><a name="l00191"></a><span class="lineno">  191</span>&#160;</div>
<div class="line"><a name="l00193"></a><span class="lineno"><a class="code" href="class_rotate_command.html#a38215d07220afa113d5f81452fe63f99">  193</a></span>&#160;    <span class="keywordtype">double</span> <a class="code" href="class_rotate_command.html#a38215d07220afa113d5f81452fe63f99" title="Store the old value z of rotated object. Record it when mouse pressed. ">oldZ</a>;</div>
<div class="line"><a name="l00194"></a><span class="lineno">  194</span>&#160;</div>
<div class="line"><a name="l00196"></a><span class="lineno"><a class="code" href="class_rotate_command.html#ace7de30443e4b077a72f9c3880cd95c6">  196</a></span>&#160;    <span class="keywordtype">double</span> <a class="code" href="class_rotate_command.html#ace7de30443e4b077a72f9c3880cd95c6" title="Store the new value x of rotated object. Update it when mouse released. ">newX</a>;</div>
<div class="line"><a name="l00197"></a><span class="lineno">  197</span>&#160;</div>
<div class="line"><a name="l00199"></a><span class="lineno"><a class="code" href="class_rotate_command.html#ad2436d3631e3f166cdb0cb93e7f61460">  199</a></span>&#160;    <span class="keywordtype">double</span> <a class="code" href="class_rotate_command.html#ad2436d3631e3f166cdb0cb93e7f61460" title="Store the new value y of rotated object. Update it when mouse released. ">newY</a>;</div>
<div class="line"><a name="l00200"></a><span class="lineno">  200</span>&#160;</div>
<div class="line"><a name="l00202"></a><span class="lineno"><a class="code" href="class_rotate_command.html#a00b3ca35ba9340f7b4120ccd4cea4e43">  202</a></span>&#160;    <span class="keywordtype">double</span> <a class="code" href="class_rotate_command.html#a00b3ca35ba9340f7b4120ccd4cea4e43" title="Store the new value z of rotated object. Update it when mouse released. ">newZ</a>;</div>
<div class="line"><a name="l00203"></a><span class="lineno">  203</span>&#160;</div>
<div class="line"><a name="l00205"></a><span class="lineno"><a class="code" href="class_rotate_command.html#a57b03f66e91780e90c422fff3e18af5e">  205</a></span>&#160;    <span class="keywordtype">int</span> <a class="code" href="class_rotate_command.html#a57b03f66e91780e90c422fff3e18af5e" title="Store the index of rotated object. ">index</a>;</div>
<div class="line"><a name="l00206"></a><span class="lineno">  206</span>&#160;};</div>
<div class="line"><a name="l00207"></a><span class="lineno">  207</span>&#160;</div>
<div class="line"><a name="l00209"></a><span class="lineno">  209</span>&#160;</div>
<div class="line"><a name="l00212"></a><span class="lineno"><a class="code" href="class_scale_command.html">  212</a></span>&#160;<span class="keyword">class </span><a class="code" href="class_scale_command.html" title="A class scaled object. ">ScaleCommand</a>:<span class="keyword">public</span> QUndoCommand</div>
<div class="line"><a name="l00213"></a><span class="lineno">  213</span>&#160;{</div>
<div class="line"><a name="l00214"></a><span class="lineno">  214</span>&#160;<span class="keyword">public</span>:</div>
<div class="line"><a name="l00215"></a><span class="lineno">  215</span>&#160;    <a class="code" href="class_scale_command.html#a7576fb8df6e8bb792860f248165a986c">ScaleCommand</a>(<a class="code" href="class_g_l_widget.html" title="A QGLWidget class. ">GLWidget</a> *_glWidget, <span class="keywordtype">double</span> _oldX, <span class="keywordtype">double</span> _oldY, <span class="keywordtype">double</span> _oldZ,</div>
<div class="line"><a name="l00216"></a><span class="lineno">  216</span>&#160;                     <span class="keywordtype">double</span> _newX, <span class="keywordtype">double</span> _newY, <span class="keywordtype">double</span> _newZ, <span class="keywordtype">int</span> _index, QUndoCommand *parent = 0);</div>
<div class="line"><a name="l00217"></a><span class="lineno">  217</span>&#160;    <a class="code" href="class_scale_command.html#ad78e7e1de6bc01044266ca76dcabf825">~ScaleCommand</a>();</div>
<div class="line"><a name="l00218"></a><span class="lineno">  218</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="class_scale_command.html#ae1aff3551f8b77425a7fe6030ab5f20e">undo</a>();</div>
<div class="line"><a name="l00219"></a><span class="lineno">  219</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="class_scale_command.html#a15a4d350da9930f902448f628dc4d7ad">redo</a>();</div>
<div class="line"><a name="l00220"></a><span class="lineno">  220</span>&#160;</div>
<div class="line"><a name="l00222"></a><span class="lineno">  222</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="class_scale_command.html#a5a5096a33e0e6a243a24b07dd93ebcd4" title="Call this function when mouse released. ">setNew</a>(<span class="keywordtype">double</span> _newX, <span class="keywordtype">double</span> _newY, <span class="keywordtype">double</span> _newZ);</div>
<div class="line"><a name="l00223"></a><span class="lineno">  223</span>&#160;</div>
<div class="line"><a name="l00224"></a><span class="lineno">  224</span>&#160;<span class="keyword">private</span>:</div>
<div class="line"><a name="l00226"></a><span class="lineno"><a class="code" href="class_scale_command.html#a363fdb3b5f79600f0c8041e203efeded">  226</a></span>&#160;    <a class="code" href="class_g_l_widget.html" title="A QGLWidget class. ">GLWidget</a> *<a class="code" href="class_scale_command.html#a363fdb3b5f79600f0c8041e203efeded" title="Store the point of GLWidget. ">glWidget</a>;</div>
<div class="line"><a name="l00227"></a><span class="lineno">  227</span>&#160;</div>
<div class="line"><a name="l00229"></a><span class="lineno"><a class="code" href="class_scale_command.html#a4232cb5dad6375301402292a695aa8b4">  229</a></span>&#160;    <span class="keywordtype">double</span> <a class="code" href="class_scale_command.html#a4232cb5dad6375301402292a695aa8b4" title="Store the old value x of scaled object. Record it when mouse pressed. ">oldX</a>;</div>
<div class="line"><a name="l00230"></a><span class="lineno">  230</span>&#160;</div>
<div class="line"><a name="l00232"></a><span class="lineno"><a class="code" href="class_scale_command.html#a0e4644d453ffb3819bbd26300515cf5d">  232</a></span>&#160;    <span class="keywordtype">double</span> <a class="code" href="class_scale_command.html#a0e4644d453ffb3819bbd26300515cf5d" title="Store the old value y of scaled object. Record it when mouse pressed. ">oldY</a>;</div>
<div class="line"><a name="l00233"></a><span class="lineno">  233</span>&#160;</div>
<div class="line"><a name="l00235"></a><span class="lineno"><a class="code" href="class_scale_command.html#a697c7577c43bfb951a5db1448dd1ed24">  235</a></span>&#160;    <span class="keywordtype">double</span> <a class="code" href="class_scale_command.html#a697c7577c43bfb951a5db1448dd1ed24" title="Store the old value z of scaled object. Record it when mouse pressed. ">oldZ</a>;</div>
<div class="line"><a name="l00236"></a><span class="lineno">  236</span>&#160;</div>
<div class="line"><a name="l00238"></a><span class="lineno"><a class="code" href="class_scale_command.html#a8886b4e2b97fb123e5b873fcfc136fa5">  238</a></span>&#160;    <span class="keywordtype">double</span> <a class="code" href="class_scale_command.html#a8886b4e2b97fb123e5b873fcfc136fa5" title="Store the new value x of scaled object. Update it when mouse released. ">newX</a>;</div>
<div class="line"><a name="l00239"></a><span class="lineno">  239</span>&#160;</div>
<div class="line"><a name="l00241"></a><span class="lineno"><a class="code" href="class_scale_command.html#a2511a3b2e50a984fe90043bbc01d31e9">  241</a></span>&#160;    <span class="keywordtype">double</span> <a class="code" href="class_scale_command.html#a2511a3b2e50a984fe90043bbc01d31e9" title="Store the new value y of scaled object. Update it when mouse released. ">newY</a>;</div>
<div class="line"><a name="l00242"></a><span class="lineno">  242</span>&#160;</div>
<div class="line"><a name="l00244"></a><span class="lineno"><a class="code" href="class_scale_command.html#aa5dc82a20c336711efaf0e49b9275105">  244</a></span>&#160;    <span class="keywordtype">double</span> <a class="code" href="class_scale_command.html#aa5dc82a20c336711efaf0e49b9275105" title="Store the new value z of scaled object. Update it when mouse released. ">newZ</a>;</div>
<div class="line"><a name="l00245"></a><span class="lineno">  245</span>&#160;</div>
<div class="line"><a name="l00247"></a><span class="lineno"><a class="code" href="class_scale_command.html#afeec2237c9e8feea7db3d9ef3c5dff56">  247</a></span>&#160;    <span class="keywordtype">int</span> <a class="code" href="class_scale_command.html#afeec2237c9e8feea7db3d9ef3c5dff56" title="Store the index of scaled object. ">index</a>;</div>
<div class="line"><a name="l00248"></a><span class="lineno">  248</span>&#160;};</div>
<div class="line"><a name="l00249"></a><span class="lineno">  249</span>&#160;</div>
<div class="line"><a name="l00251"></a><span class="lineno">  251</span>&#160;</div>
<div class="line"><a name="l00254"></a><span class="lineno"><a class="code" href="class_sphere_input_command.html">  254</a></span>&#160;<span class="keyword">class </span><a class="code" href="class_sphere_input_command.html" title="A class added a sphere to the scene. ">SphereInputCommand</a>:<span class="keyword">public</span> QUndoCommand</div>
<div class="line"><a name="l00255"></a><span class="lineno">  255</span>&#160;{</div>
<div class="line"><a name="l00256"></a><span class="lineno">  256</span>&#160;<span class="keyword">public</span>:</div>
<div class="line"><a name="l00257"></a><span class="lineno">  257</span>&#160;    <a class="code" href="class_sphere_input_command.html#a3c4b94d406780932a4de5b4a26167477">SphereInputCommand</a>(<a class="code" href="class_g_l_widget.html" title="A QGLWidget class. ">GLWidget</a> *_glWidget, <a class="code" href="class_cell_object.html" title="A Cell Object class. ">CellObject</a> *_obj,</div>
<div class="line"><a name="l00258"></a><span class="lineno">  258</span>&#160;                       <span class="keywordtype">double</span> _oldRadius, <span class="keywordtype">int</span> _oldHeightSeg, <span class="keywordtype">int</span> _oldAxisSeg,</div>
<div class="line"><a name="l00259"></a><span class="lineno">  259</span>&#160;                       <span class="keywordtype">double</span> _newRadius, <span class="keywordtype">int</span> _newHeightSeg, <span class="keywordtype">int</span> _newAxisSeg, QUndoCommand *parent = 0);</div>
<div class="line"><a name="l00260"></a><span class="lineno">  260</span>&#160;    <a class="code" href="class_sphere_input_command.html#aea59631d6872303f8767ef6217649828">~SphereInputCommand</a>();</div>
<div class="line"><a name="l00261"></a><span class="lineno">  261</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="class_sphere_input_command.html#a007983ba6da4e038bf4ce53dd3029b4b">undo</a>();</div>
<div class="line"><a name="l00262"></a><span class="lineno">  262</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="class_sphere_input_command.html#a4fb11459b330b8919579c0760cb0cb1e">redo</a>();</div>
<div class="line"><a name="l00263"></a><span class="lineno">  263</span>&#160;</div>
<div class="line"><a name="l00264"></a><span class="lineno">  264</span>&#160;<span class="keyword">private</span>:</div>
<div class="line"><a name="l00266"></a><span class="lineno"><a class="code" href="class_sphere_input_command.html#ae4ff9e63a728d42fd6f81ea027c9f694">  266</a></span>&#160;    <a class="code" href="class_g_l_widget.html" title="A QGLWidget class. ">GLWidget</a> *<a class="code" href="class_sphere_input_command.html#ae4ff9e63a728d42fd6f81ea027c9f694" title="Store the point of GLWidget. ">glWidget</a>;</div>
<div class="line"><a name="l00267"></a><span class="lineno">  267</span>&#160;</div>
<div class="line"><a name="l00269"></a><span class="lineno"><a class="code" href="class_sphere_input_command.html#a267a2382be67145a18c9b0c6bf33d6dc">  269</a></span>&#160;    <a class="code" href="class_cell_object.html" title="A Cell Object class. ">CellObject</a> *<a class="code" href="class_sphere_input_command.html#a267a2382be67145a18c9b0c6bf33d6dc" title="Store the point of the modified object. ">object</a>;</div>
<div class="line"><a name="l00270"></a><span class="lineno">  270</span>&#160;</div>
<div class="line"><a name="l00272"></a><span class="lineno"><a class="code" href="class_sphere_input_command.html#aebe1f5c78700526cf45df757b8bf06ae">  272</a></span>&#160;    <span class="keywordtype">double</span> <a class="code" href="class_sphere_input_command.html#aebe1f5c78700526cf45df757b8bf06ae" title="Store the old radius value of the object. ">oldRadius</a>;</div>
<div class="line"><a name="l00273"></a><span class="lineno">  273</span>&#160;</div>
<div class="line"><a name="l00275"></a><span class="lineno"><a class="code" href="class_sphere_input_command.html#a743ead7b2658b8ee9d674c08f27a0734">  275</a></span>&#160;    <span class="keywordtype">int</span> <a class="code" href="class_sphere_input_command.html#a743ead7b2658b8ee9d674c08f27a0734" title="Store the old height segmentation value of the object. ">oldHeightSeg</a>;</div>
<div class="line"><a name="l00276"></a><span class="lineno">  276</span>&#160;</div>
<div class="line"><a name="l00278"></a><span class="lineno"><a class="code" href="class_sphere_input_command.html#ad478547f18a9a4782c4238a1a5e83623">  278</a></span>&#160;    <span class="keywordtype">int</span> <a class="code" href="class_sphere_input_command.html#ad478547f18a9a4782c4238a1a5e83623" title="Store the old axis segmentation value of the object. ">oldAxisSeg</a>;</div>
<div class="line"><a name="l00279"></a><span class="lineno">  279</span>&#160;</div>
<div class="line"><a name="l00281"></a><span class="lineno"><a class="code" href="class_sphere_input_command.html#a7639bb9a5006b5f2ba5d8c27347bb2ed">  281</a></span>&#160;    <span class="keywordtype">double</span> <a class="code" href="class_sphere_input_command.html#a7639bb9a5006b5f2ba5d8c27347bb2ed" title="Store the new radius value of the object. ">newRadius</a>;</div>
<div class="line"><a name="l00282"></a><span class="lineno">  282</span>&#160;</div>
<div class="line"><a name="l00284"></a><span class="lineno"><a class="code" href="class_sphere_input_command.html#aa828c33ba96430fae1bb6af2fc716e9e">  284</a></span>&#160;    <span class="keywordtype">int</span> <a class="code" href="class_sphere_input_command.html#aa828c33ba96430fae1bb6af2fc716e9e" title="Store the new height segmentation value of the object. ">newHeightSeg</a>;</div>
<div class="line"><a name="l00285"></a><span class="lineno">  285</span>&#160;</div>
<div class="line"><a name="l00287"></a><span class="lineno"><a class="code" href="class_sphere_input_command.html#ad3f3fe5246e11c2c4fd17e5ba2383617">  287</a></span>&#160;    <span class="keywordtype">int</span> <a class="code" href="class_sphere_input_command.html#ad3f3fe5246e11c2c4fd17e5ba2383617" title="Store the new axis segmentation value of the object. ">newAxisSeg</a>;</div>
<div class="line"><a name="l00288"></a><span class="lineno">  288</span>&#160;};</div>
<div class="line"><a name="l00289"></a><span class="lineno">  289</span>&#160;</div>
<div class="line"><a name="l00291"></a><span class="lineno">  291</span>&#160;</div>
<div class="line"><a name="l00294"></a><span class="lineno"><a class="code" href="class_cylinder_input_command.html">  294</a></span>&#160;<span class="keyword">class </span><a class="code" href="class_cylinder_input_command.html" title="A class added a cylinder or an open cylinder to the scene. ">CylinderInputCommand</a>:<span class="keyword">public</span> QUndoCommand</div>
<div class="line"><a name="l00295"></a><span class="lineno">  295</span>&#160;{</div>
<div class="line"><a name="l00296"></a><span class="lineno">  296</span>&#160;<span class="keyword">public</span>:</div>
<div class="line"><a name="l00297"></a><span class="lineno">  297</span>&#160;    <a class="code" href="class_cylinder_input_command.html#a57d3daa92c1410db9b85247a357ffcef">CylinderInputCommand</a>(<a class="code" href="class_g_l_widget.html" title="A QGLWidget class. ">GLWidget</a> *_glWidget, <a class="code" href="class_cell_object.html" title="A Cell Object class. ">CellObject</a> *_obj,</div>
<div class="line"><a name="l00298"></a><span class="lineno">  298</span>&#160;                         <span class="keywordtype">double</span> _oldRadius, <span class="keywordtype">double</span> _oldHeight, <span class="keywordtype">int</span> _oldHeightSeg, <span class="keywordtype">int</span> _oldAxisSeg,</div>
<div class="line"><a name="l00299"></a><span class="lineno">  299</span>&#160;                         <span class="keywordtype">double</span> _newRadius, <span class="keywordtype">double</span> _newHeight, <span class="keywordtype">int</span> _newHeightSeg, <span class="keywordtype">int</span> _newAxisSeg, <span class="keywordtype">int</span> _type, QUndoCommand *parent = 0);</div>
<div class="line"><a name="l00300"></a><span class="lineno">  300</span>&#160;    <a class="code" href="class_cylinder_input_command.html#a9408cbd204f8f16cd684ab534cbdaa8c">~CylinderInputCommand</a>();</div>
<div class="line"><a name="l00301"></a><span class="lineno">  301</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="class_cylinder_input_command.html#ad71973d121439651f61434d7a06d6e43">undo</a>();</div>
<div class="line"><a name="l00302"></a><span class="lineno">  302</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="class_cylinder_input_command.html#ac9fa4ac426b2adf1b4035439f33f2f69">redo</a>();</div>
<div class="line"><a name="l00303"></a><span class="lineno">  303</span>&#160;</div>
<div class="line"><a name="l00304"></a><span class="lineno">  304</span>&#160;<span class="keyword">private</span>:</div>
<div class="line"><a name="l00306"></a><span class="lineno"><a class="code" href="class_cylinder_input_command.html#a04325754b8a0459a7c55c3cd9533ddd4">  306</a></span>&#160;    <a class="code" href="class_g_l_widget.html" title="A QGLWidget class. ">GLWidget</a> *<a class="code" href="class_cylinder_input_command.html#a04325754b8a0459a7c55c3cd9533ddd4" title="Store the point of GLWidget. ">glWidget</a>;</div>
<div class="line"><a name="l00307"></a><span class="lineno">  307</span>&#160;</div>
<div class="line"><a name="l00309"></a><span class="lineno"><a class="code" href="class_cylinder_input_command.html#ab38e2a9b0e564968409c6eb6c2ae497a">  309</a></span>&#160;    <a class="code" href="class_cell_object.html" title="A Cell Object class. ">CellObject</a> *<a class="code" href="class_cylinder_input_command.html#ab38e2a9b0e564968409c6eb6c2ae497a" title="Store the point of the modified object. ">object</a>;</div>
<div class="line"><a name="l00310"></a><span class="lineno">  310</span>&#160;</div>
<div class="line"><a name="l00312"></a><span class="lineno"><a class="code" href="class_cylinder_input_command.html#a718d7fb43bf8a1d20bf95ef253e8148f">  312</a></span>&#160;    <span class="keywordtype">double</span> <a class="code" href="class_cylinder_input_command.html#a718d7fb43bf8a1d20bf95ef253e8148f" title="Store the old radius value of the object. ">oldRadius</a>;</div>
<div class="line"><a name="l00313"></a><span class="lineno">  313</span>&#160;</div>
<div class="line"><a name="l00315"></a><span class="lineno"><a class="code" href="class_cylinder_input_command.html#a6ce0201396127a228c70a46f02588266">  315</a></span>&#160;    <span class="keywordtype">double</span> <a class="code" href="class_cylinder_input_command.html#a6ce0201396127a228c70a46f02588266" title="Store the old height value of the object. ">oldHeight</a>;</div>
<div class="line"><a name="l00316"></a><span class="lineno">  316</span>&#160;</div>
<div class="line"><a name="l00318"></a><span class="lineno"><a class="code" href="class_cylinder_input_command.html#a46a407b0f9d3d8bb300d871df9337d79">  318</a></span>&#160;    <span class="keywordtype">int</span> <a class="code" href="class_cylinder_input_command.html#a46a407b0f9d3d8bb300d871df9337d79" title="Store the old height segmentation value of the object. ">oldHeightSeg</a>;</div>
<div class="line"><a name="l00319"></a><span class="lineno">  319</span>&#160;</div>
<div class="line"><a name="l00321"></a><span class="lineno"><a class="code" href="class_cylinder_input_command.html#ae56cf5f3ebd4e667cbb162b9cdeb5300">  321</a></span>&#160;    <span class="keywordtype">int</span> <a class="code" href="class_cylinder_input_command.html#ae56cf5f3ebd4e667cbb162b9cdeb5300" title="Store the old axis segmentation value of the object. ">oldAxisSeg</a>;</div>
<div class="line"><a name="l00322"></a><span class="lineno">  322</span>&#160;</div>
<div class="line"><a name="l00324"></a><span class="lineno"><a class="code" href="class_cylinder_input_command.html#aaa674ebfd2d4835991cdd9f15de63666">  324</a></span>&#160;    <span class="keywordtype">double</span> <a class="code" href="class_cylinder_input_command.html#aaa674ebfd2d4835991cdd9f15de63666" title="Store the new radius value of the object. ">newRadius</a>;</div>
<div class="line"><a name="l00325"></a><span class="lineno">  325</span>&#160;</div>
<div class="line"><a name="l00327"></a><span class="lineno"><a class="code" href="class_cylinder_input_command.html#a2cfd21feaef4634348ea06b241fcc1fd">  327</a></span>&#160;    <span class="keywordtype">double</span> <a class="code" href="class_cylinder_input_command.html#a2cfd21feaef4634348ea06b241fcc1fd" title="Store the new height value of the object. ">newHeight</a>;</div>
<div class="line"><a name="l00328"></a><span class="lineno">  328</span>&#160;</div>
<div class="line"><a name="l00330"></a><span class="lineno"><a class="code" href="class_cylinder_input_command.html#a01d9b5b080cec3d48ce6863d077ab1de">  330</a></span>&#160;    <span class="keywordtype">int</span> <a class="code" href="class_cylinder_input_command.html#a01d9b5b080cec3d48ce6863d077ab1de" title="Store the new height segmentation value of the object. ">newHeightSeg</a>;</div>
<div class="line"><a name="l00331"></a><span class="lineno">  331</span>&#160;</div>
<div class="line"><a name="l00333"></a><span class="lineno"><a class="code" href="class_cylinder_input_command.html#aa77b27b2b64f732f6febd224879dbcad">  333</a></span>&#160;    <span class="keywordtype">int</span> <a class="code" href="class_cylinder_input_command.html#aa77b27b2b64f732f6febd224879dbcad" title="Store the new axis segmentation value of the object. ">newAxisSeg</a>;</div>
<div class="line"><a name="l00334"></a><span class="lineno">  334</span>&#160;</div>
<div class="line"><a name="l00336"></a><span class="lineno"><a class="code" href="class_cylinder_input_command.html#a1dc51cd12d41da6254fbb610f52dad1c">  336</a></span>&#160;    <span class="keywordtype">int</span> <a class="code" href="class_cylinder_input_command.html#a1dc51cd12d41da6254fbb610f52dad1c" title="Store the type of the cylinder, the value can be CELL_CYLINDER or CELL_OPENCYLINDER. ">type</a>;</div>
<div class="line"><a name="l00337"></a><span class="lineno">  337</span>&#160;};</div>
<div class="line"><a name="l00338"></a><span class="lineno">  338</span>&#160;</div>
<div class="line"><a name="l00340"></a><span class="lineno">  340</span>&#160;</div>
<div class="line"><a name="l00343"></a><span class="lineno"><a class="code" href="class_cube_input_command.html">  343</a></span>&#160;<span class="keyword">class </span><a class="code" href="class_cube_input_command.html" title="A class added a cube to the scene. ">CubeInputCommand</a>:<span class="keyword">public</span> QUndoCommand</div>
<div class="line"><a name="l00344"></a><span class="lineno">  344</span>&#160;{</div>
<div class="line"><a name="l00345"></a><span class="lineno">  345</span>&#160;<span class="keyword">public</span>:</div>
<div class="line"><a name="l00346"></a><span class="lineno">  346</span>&#160;    <a class="code" href="class_cube_input_command.html#a4c8577db145175d826d2cfb7ce183322">CubeInputCommand</a>(<a class="code" href="class_g_l_widget.html" title="A QGLWidget class. ">GLWidget</a> *_glWidget, <a class="code" href="class_cell_object.html" title="A Cell Object class. ">CellObject</a> *_obj,</div>
<div class="line"><a name="l00347"></a><span class="lineno">  347</span>&#160;                     <span class="keywordtype">double</span> _oldWidth, <span class="keywordtype">double</span> _oldHeight, <span class="keywordtype">double</span> _oldDepth,</div>
<div class="line"><a name="l00348"></a><span class="lineno">  348</span>&#160;                     <span class="keywordtype">int</span> _oldWidthSeg, <span class="keywordtype">int</span> _oldHeightSeg, <span class="keywordtype">int</span> _oldDepthSeg,</div>
<div class="line"><a name="l00349"></a><span class="lineno">  349</span>&#160;                     <span class="keywordtype">double</span> _newWidth, <span class="keywordtype">double</span> _newHeight, <span class="keywordtype">double</span> _newDepth,</div>
<div class="line"><a name="l00350"></a><span class="lineno">  350</span>&#160;                     <span class="keywordtype">int</span> _newWidthSeg, <span class="keywordtype">int</span> _newHeightSeg, <span class="keywordtype">int</span> _newDepthSeg, QUndoCommand *parent = 0);</div>
<div class="line"><a name="l00351"></a><span class="lineno">  351</span>&#160;    <a class="code" href="class_cube_input_command.html#a30830a853ecfaf51d440455bc00e8a99">~CubeInputCommand</a>();</div>
<div class="line"><a name="l00352"></a><span class="lineno">  352</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="class_cube_input_command.html#afd01761ebc0b0e2c29fd193d125e858e">undo</a>();</div>
<div class="line"><a name="l00353"></a><span class="lineno">  353</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="class_cube_input_command.html#a7e6c3d5b28307e028f8611b7ba619205">redo</a>();</div>
<div class="line"><a name="l00354"></a><span class="lineno">  354</span>&#160;</div>
<div class="line"><a name="l00355"></a><span class="lineno">  355</span>&#160;<span class="keyword">private</span>:</div>
<div class="line"><a name="l00357"></a><span class="lineno"><a class="code" href="class_cube_input_command.html#afaa8776c642c1966230d69bbb0fffedf">  357</a></span>&#160;    <a class="code" href="class_g_l_widget.html" title="A QGLWidget class. ">GLWidget</a> *<a class="code" href="class_cube_input_command.html#afaa8776c642c1966230d69bbb0fffedf" title="Store the point of GLWidget. ">glWidget</a>;</div>
<div class="line"><a name="l00358"></a><span class="lineno">  358</span>&#160;</div>
<div class="line"><a name="l00360"></a><span class="lineno"><a class="code" href="class_cube_input_command.html#a9761592dc2aeff5a314959949be1fc7a">  360</a></span>&#160;    <a class="code" href="class_cell_object.html" title="A Cell Object class. ">CellObject</a> *<a class="code" href="class_cube_input_command.html#a9761592dc2aeff5a314959949be1fc7a" title="Store the point of the modified object. ">object</a>;</div>
<div class="line"><a name="l00361"></a><span class="lineno">  361</span>&#160;</div>
<div class="line"><a name="l00363"></a><span class="lineno"><a class="code" href="class_cube_input_command.html#a6b84a111ba1bf4a7232c7994ff4586dc">  363</a></span>&#160;    <span class="keywordtype">double</span> <a class="code" href="class_cube_input_command.html#a6b84a111ba1bf4a7232c7994ff4586dc" title="Store the old width value of the object. ">oldWidth</a>;</div>
<div class="line"><a name="l00364"></a><span class="lineno">  364</span>&#160;</div>
<div class="line"><a name="l00366"></a><span class="lineno"><a class="code" href="class_cube_input_command.html#a2eb0c0873f53323a13353befea4135db">  366</a></span>&#160;    <span class="keywordtype">double</span> <a class="code" href="class_cube_input_command.html#a2eb0c0873f53323a13353befea4135db" title="Store the old height value of the object. ">oldHeight</a>;</div>
<div class="line"><a name="l00367"></a><span class="lineno">  367</span>&#160;</div>
<div class="line"><a name="l00369"></a><span class="lineno"><a class="code" href="class_cube_input_command.html#a0c84f9a4eca588d3ee2d0de6bf8988be">  369</a></span>&#160;    <span class="keywordtype">double</span> <a class="code" href="class_cube_input_command.html#a0c84f9a4eca588d3ee2d0de6bf8988be" title="Store the old depth value of the object. ">oldDepth</a>;</div>
<div class="line"><a name="l00370"></a><span class="lineno">  370</span>&#160;</div>
<div class="line"><a name="l00372"></a><span class="lineno"><a class="code" href="class_cube_input_command.html#accf31aef93fbb69905b38d66a31450ce">  372</a></span>&#160;    <span class="keywordtype">int</span> <a class="code" href="class_cube_input_command.html#accf31aef93fbb69905b38d66a31450ce" title="Store the old width segmentation value of the object. ">oldWidthSeg</a>;</div>
<div class="line"><a name="l00373"></a><span class="lineno">  373</span>&#160;</div>
<div class="line"><a name="l00375"></a><span class="lineno"><a class="code" href="class_cube_input_command.html#a0b0b6ac1f551b1c14f96495f7df18838">  375</a></span>&#160;    <span class="keywordtype">int</span> <a class="code" href="class_cube_input_command.html#a0b0b6ac1f551b1c14f96495f7df18838" title="Store the old height segmentation value of the object. ">oldHeightSeg</a>;</div>
<div class="line"><a name="l00376"></a><span class="lineno">  376</span>&#160;</div>
<div class="line"><a name="l00378"></a><span class="lineno"><a class="code" href="class_cube_input_command.html#a5d94d3e806cfd95a058a7338f623d277">  378</a></span>&#160;    <span class="keywordtype">int</span> <a class="code" href="class_cube_input_command.html#a5d94d3e806cfd95a058a7338f623d277" title="Store the old depth segmentation value of the object. ">oldDepthSeg</a>;</div>
<div class="line"><a name="l00379"></a><span class="lineno">  379</span>&#160;</div>
<div class="line"><a name="l00381"></a><span class="lineno"><a class="code" href="class_cube_input_command.html#a80714374460771bbdc8715ad7b46b0a7">  381</a></span>&#160;    <span class="keywordtype">double</span> <a class="code" href="class_cube_input_command.html#a80714374460771bbdc8715ad7b46b0a7" title="Store the new width value of the object. ">newWidth</a>;</div>
<div class="line"><a name="l00382"></a><span class="lineno">  382</span>&#160;</div>
<div class="line"><a name="l00384"></a><span class="lineno"><a class="code" href="class_cube_input_command.html#a07d819fb96818c9fa7b784f26aeb4578">  384</a></span>&#160;    <span class="keywordtype">double</span> <a class="code" href="class_cube_input_command.html#a07d819fb96818c9fa7b784f26aeb4578" title="Store the new height value of the object. ">newHeight</a>;</div>
<div class="line"><a name="l00385"></a><span class="lineno">  385</span>&#160;</div>
<div class="line"><a name="l00387"></a><span class="lineno"><a class="code" href="class_cube_input_command.html#a50a6931e0df897a0f809aba107e0d485">  387</a></span>&#160;    <span class="keywordtype">double</span> <a class="code" href="class_cube_input_command.html#a50a6931e0df897a0f809aba107e0d485" title="Store the new depth value of the object. ">newDepth</a>;</div>
<div class="line"><a name="l00388"></a><span class="lineno">  388</span>&#160;</div>
<div class="line"><a name="l00390"></a><span class="lineno"><a class="code" href="class_cube_input_command.html#a6bd8e192fb51901c7a6c856aeb7d2440">  390</a></span>&#160;    <span class="keywordtype">int</span> <a class="code" href="class_cube_input_command.html#a6bd8e192fb51901c7a6c856aeb7d2440" title="Store the new width segmentation value of the object. ">newWidthSeg</a>;</div>
<div class="line"><a name="l00391"></a><span class="lineno">  391</span>&#160;</div>
<div class="line"><a name="l00393"></a><span class="lineno"><a class="code" href="class_cube_input_command.html#ab6a42a2ce9ea9d8596c8cdf2e635bb9d">  393</a></span>&#160;    <span class="keywordtype">int</span> <a class="code" href="class_cube_input_command.html#ab6a42a2ce9ea9d8596c8cdf2e635bb9d" title="Store the new height segmentation value of the object. ">newHeightSeg</a>;</div>
<div class="line"><a name="l00394"></a><span class="lineno">  394</span>&#160;</div>
<div class="line"><a name="l00396"></a><span class="lineno"><a class="code" href="class_cube_input_command.html#a0c6b2adedac5dd7ad370f32cdb1dce94">  396</a></span>&#160;    <span class="keywordtype">int</span> <a class="code" href="class_cube_input_command.html#a0c6b2adedac5dd7ad370f32cdb1dce94" title="Store the new depth segmentation value of the object. ">newDepthSeg</a>;</div>
<div class="line"><a name="l00397"></a><span class="lineno">  397</span>&#160;};</div>
<div class="line"><a name="l00398"></a><span class="lineno">  398</span>&#160;</div>
<div class="line"><a name="l00400"></a><span class="lineno">  400</span>&#160;</div>
<div class="line"><a name="l00403"></a><span class="lineno"><a class="code" href="class_select_object_command.html">  403</a></span>&#160;<span class="keyword">class </span><a class="code" href="class_select_object_command.html" title="A class selected a differant object. ">SelectObjectCommand</a>:<span class="keyword">public</span> QUndoCommand</div>
<div class="line"><a name="l00404"></a><span class="lineno">  404</span>&#160;{</div>
<div class="line"><a name="l00405"></a><span class="lineno">  405</span>&#160;<span class="keyword">public</span>:</div>
<div class="line"><a name="l00406"></a><span class="lineno">  406</span>&#160;    <a class="code" href="class_select_object_command.html#ad73f1e2effc04462a33fef2649b90591">SelectObjectCommand</a>(<a class="code" href="class_g_l_widget.html" title="A QGLWidget class. ">GLWidget</a> *_glWidget, <span class="keywordtype">int</span> _lastSelectObject, QUndoCommand *parent = 0);</div>
<div class="line"><a name="l00407"></a><span class="lineno">  407</span>&#160;    <a class="code" href="class_select_object_command.html#a56fc8d44f82fee50ef7948b846453c39">~SelectObjectCommand</a>();</div>
<div class="line"><a name="l00408"></a><span class="lineno">  408</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="class_select_object_command.html#a0037a65b4176c0802e63ea5e2cfaddce">setRecSelectObject</a>(<span class="keywordtype">int</span> s);</div>
<div class="line"><a name="l00409"></a><span class="lineno">  409</span>&#160;    <span class="keywordtype">bool</span> <a class="code" href="class_select_object_command.html#a8ee1fd34b94a8567aba7757bd2a390ab">isSelectChanged</a>();</div>
<div class="line"><a name="l00410"></a><span class="lineno">  410</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="class_select_object_command.html#a81980c9625f7930bd211af5d5ee8ee02">undo</a>();</div>
<div class="line"><a name="l00411"></a><span class="lineno">  411</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="class_select_object_command.html#adbd364408ce72142ecaccc703b56961c">redo</a>();</div>
<div class="line"><a name="l00412"></a><span class="lineno">  412</span>&#160;</div>
<div class="line"><a name="l00413"></a><span class="lineno">  413</span>&#160;<span class="keyword">private</span>:</div>
<div class="line"><a name="l00415"></a><span class="lineno"><a class="code" href="class_select_object_command.html#a648acf7c495d11f6200a8b8a00021c8c">  415</a></span>&#160;    <a class="code" href="class_g_l_widget.html" title="A QGLWidget class. ">GLWidget</a> *<a class="code" href="class_select_object_command.html#a648acf7c495d11f6200a8b8a00021c8c" title="Store the point of GLWidget. ">glWidget</a>;</div>
<div class="line"><a name="l00416"></a><span class="lineno">  416</span>&#160;</div>
<div class="line"><a name="l00418"></a><span class="lineno"><a class="code" href="class_select_object_command.html#a9541c3a0465cb001255cd0d72e8da708">  418</a></span>&#160;    <span class="keywordtype">int</span> <a class="code" href="class_select_object_command.html#a9541c3a0465cb001255cd0d72e8da708" title="Store the index of the last selected object. ">lastSelectObject</a>;</div>
<div class="line"><a name="l00419"></a><span class="lineno">  419</span>&#160;</div>
<div class="line"><a name="l00421"></a><span class="lineno"><a class="code" href="class_select_object_command.html#aa815b6306bf9141c930c7cd6e8cd7193">  421</a></span>&#160;    <span class="keywordtype">int</span> <a class="code" href="class_select_object_command.html#aa815b6306bf9141c930c7cd6e8cd7193" title="Store the index of the selected object at the moment. ">recSelectObject</a>;</div>
<div class="line"><a name="l00422"></a><span class="lineno">  422</span>&#160;};</div>
<div class="line"><a name="l00423"></a><span class="lineno">  423</span>&#160;</div>
<div class="line"><a name="l00425"></a><span class="lineno">  425</span>&#160;</div>
<div class="line"><a name="l00428"></a><span class="lineno"><a class="code" href="class_mesh_changed_command.html">  428</a></span>&#160;<span class="keyword">class </span><a class="code" href="class_mesh_changed_command.html" title="A class realized the mesh changed command. ">MeshChangedCommand</a>:<span class="keyword">public</span> QUndoCommand</div>
<div class="line"><a name="l00429"></a><span class="lineno">  429</span>&#160;{</div>
<div class="line"><a name="l00430"></a><span class="lineno">  430</span>&#160;<span class="keyword">public</span>:</div>
<div class="line"><a name="l00431"></a><span class="lineno">  431</span>&#160;    <a class="code" href="class_mesh_changed_command.html#afb395f1456055e6cb7cc901d66cd59df">MeshChangedCommand</a>(<a class="code" href="class_g_l_widget.html" title="A QGLWidget class. ">GLWidget</a> *_glWidget, <a class="code" href="class_cell_object.html" title="A Cell Object class. ">CellObject</a> *_unchangedObject, <span class="keywordtype">int</span> _index, QUndoCommand *parent = 0);</div>
<div class="line"><a name="l00432"></a><span class="lineno">  432</span>&#160;    <a class="code" href="class_mesh_changed_command.html#ac15f1993c82b402fa945e7f7f2ae53c8">~MeshChangedCommand</a>();</div>
<div class="line"><a name="l00433"></a><span class="lineno">  433</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="class_mesh_changed_command.html#ab668a863255feee09168f57305616cef">undo</a>();</div>
<div class="line"><a name="l00434"></a><span class="lineno">  434</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="class_mesh_changed_command.html#a31aed632e795a0bb4f95926124401a4f">redo</a>();</div>
<div class="line"><a name="l00435"></a><span class="lineno">  435</span>&#160;</div>
<div class="line"><a name="l00436"></a><span class="lineno">  436</span>&#160;<span class="keyword">private</span>:</div>
<div class="line"><a name="l00438"></a><span class="lineno"><a class="code" href="class_mesh_changed_command.html#ae983ef5836d2ef414b740ded2bc90a5c">  438</a></span>&#160;    <a class="code" href="class_g_l_widget.html" title="A QGLWidget class. ">GLWidget</a> *<a class="code" href="class_mesh_changed_command.html#ae983ef5836d2ef414b740ded2bc90a5c" title="Store the point of GLWidget. ">glWidget</a>;</div>
<div class="line"><a name="l00439"></a><span class="lineno">  439</span>&#160;</div>
<div class="line"><a name="l00441"></a><span class="lineno"><a class="code" href="class_mesh_changed_command.html#afc042cc2effc31571c186f5ffca091bf">  441</a></span>&#160;    <a class="code" href="class_cell_object.html" title="A Cell Object class. ">CellObject</a> *<a class="code" href="class_mesh_changed_command.html#afc042cc2effc31571c186f5ffca091bf" title="Store the point of the unmodified object. ">unchangedObject</a>;</div>
<div class="line"><a name="l00442"></a><span class="lineno">  442</span>&#160;</div>
<div class="line"><a name="l00444"></a><span class="lineno"><a class="code" href="class_mesh_changed_command.html#a39462b94da2cf4c05afa016685136e24">  444</a></span>&#160;    <a class="code" href="class_cell_object.html" title="A Cell Object class. ">CellObject</a> *<a class="code" href="class_mesh_changed_command.html#a39462b94da2cf4c05afa016685136e24" title="Store the point of the object after modified. ">changedObject</a>;</div>
<div class="line"><a name="l00445"></a><span class="lineno">  445</span>&#160;</div>
<div class="line"><a name="l00447"></a><span class="lineno"><a class="code" href="class_mesh_changed_command.html#ae652f38fd8c1e8d5c54d3a93e6e15768">  447</a></span>&#160;    <span class="keywordtype">int</span> <a class="code" href="class_mesh_changed_command.html#ae652f38fd8c1e8d5c54d3a93e6e15768" title="Store the index of the object. ">index</a>;</div>
<div class="line"><a name="l00448"></a><span class="lineno">  448</span>&#160;};</div>
<div class="line"><a name="l00449"></a><span class="lineno">  449</span>&#160;</div>
<div class="line"><a name="l00450"></a><span class="lineno">  450</span>&#160;<span class="preprocessor">#endif // COMMANDS_H</span></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Tue Jul 9 2013 15:49:57 for 3D Cell by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.3.1-20130512
</small></address>
</body>
</html>
